﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

public class DAL_Province : clsConnection
{
    DataTable dt = new DataTable();
    public DataTable DAL_Province_getData()
    {
        try
        {
            dt = ExcuteQuery("SELECT * FROM Province");
        }
        catch
        {
        }
        return dt;
    }
    public DataTable DAL_Province_getById(int id)
    {
        try
        {
            dt = ExcuteQuery("SELECT * FROM Province WHERE id=" + id);
        }
        catch
        {
        }
        return dt;
    }
}